#ifndef _Cake_H_
#define _Cake_H_

#include "wiisprite.h"

using namespace wsp;

class Cake {
   public:
      Cake(Image* cakeImage);
	  ~Cake();
	  
	  void SetLocation(float x, float y);
	  
	  bool CheckCollision(Sprite* sprite);
	  
	  Sprite* GetSprite(){return &_cakeSprite;}
	  
	  void SetAvailable(bool b){_available = b;}
	  
	  bool IsAvailable(){return _available;}
	  
	  void Render(float dx, float dy);
	  
   private:
      Sprite _cakeSprite;
	  bool _available;
};

#endif //_Cake_H_

